Other Functions
The following functions are available globally.
-
Test equivalence of units’ calendars and abort if they differ.
Declaration
Swift
internal func resultingCalendarForOperation<T, U>(for first: T, _ second: U) -> CPCCalendarWrapper where T : CPCCalendarUnit, U : CPCCalendarUnitParameters
firstFirst calendar unit.
secondSecond calendar unit.
Return Value
Calendar of both of supplied units.
-
Undocumented
Declaration
Swift
internal func guarantee<T>(_ value: T?, file: StaticString = #file, line: Int = #line, function: String = #function) -> T
-
Undocumented
Declaration
Swift
internal func unsafeBitCast<T, U>(_ x: T) -> U -
Undocumented
Declaration
Swift
internal func unsafeDowncast<T>(_ x: AnyObject) -> T where T : AnyObject
View on GitHub
Install in Dash
Other Functions Reference